﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage_Edit.master" AutoEventWireup="true"
    CodeFile="NodeEdit.aspx.cs" Inherits="Main_NodeEdit" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    新增便签
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div>
        <asp:TextBox ID="txt_Content" runat="server" CssClass="ht-area" TextMode="MultiLine" Style="width: 373px; height: 312px;"></asp:TextBox>
    </div>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="Buttoms" runat="Server">
    <asp:LinkButton ID="btn_Save" runat="server" Text="保存" OnClick="btn_Save_Click" ValidationGroup="Check" CssClass="easyui-linkbutton" data-options="iconCls:'icon-save'" />
    <a href="javascript:Cancel()" class="easyui-linkbutton" data-options="iconCls:'icon-back'">返回</a>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="Footer" runat="Server">
    <script>
        KindEditor.ready(function (K) {
            var editor = K.create('#<%=txt_Content.ClientID %>', {
                resizeType: 1,
                allowPreviewEmoticons: false,
                allowImageUpload: false,
                items: [
                    'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                    'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright']
            });
            K('#<%=btn_Save.ClientID%>').click(function (e) {
                $('#<%=txt_Content.ClientID%>').val(editor.html());
            });
        });
    </script>
</asp:Content>

